package com.ruoyi.psi.inventory.transfer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;
import java.util.List;

/**
 * psi_inventory_transfer
 * 产品库存调拨表
 */
public class InventoryTransfer extends BaseEntity {
    /**
     * 库存调拨编号
     */
    @NotNull(message = "库存调拨编号不能为空")
    @ApiModelProperty(value = "库存调拨编号", required = true)
    private String inventoryTransferId;
    /**
     * 发出仓库编号
     */
    @NotNull(message = "发出仓库编号不能为空")
    @ApiModelProperty(value = "发出仓库编号", required = true)
    private String warehouseOutId;
    /**
     * 仓库名称
     */
    @Excel(name = "仓库名称")
    private String warehouseOutName;
    /**
     * 发出仓库地址
     */
    @Excel(name = "仓库地址")
    private String warehouseOutAddress;
    /**
     * 收入仓库编号
     */
    @NotNull(message = "收入仓库编号不能为空")
    @ApiModelProperty(value = "收入仓库编号", required = true)
    private String warehouseInId;
    /**
     * 收仓库名称
     */
    @Excel(name = "仓库名称")
    private String warehouseInName;
    /**
     * 收仓库地址
     */
    @Excel(name = "仓库地址")
    private String warehouseInAddress;
    /**
     * 负责人编号
     */
    @Excel(name = "负责人编号")
    private String staffId;
    /**
     * 负责人名称
     */
    @Excel(name = "负责人名称")
    private String staffName;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private java.sql.Timestamp createTime;
    /**
     * 备注
     */
    private String remark;

    private List<InventoryTransferList> inventoryTransferLists;

    public String getInventoryTransferId() {
        return inventoryTransferId;
    }

    public void setInventoryTransferId(String inventoryTransferId) {
        this.inventoryTransferId = inventoryTransferId;
    }

    public String getWarehouseOutId() {
        return warehouseOutId;
    }

    public void setWarehouseOutId(String warehouseOutId) {
        this.warehouseOutId = warehouseOutId;
    }

    public String getWarehouseOutName() {
        return warehouseOutName;
    }

    public void setWarehouseOutName(String warehouseOutName) {
        this.warehouseOutName = warehouseOutName;
    }

    public String getWarehouseOutAddress() {
        return warehouseOutAddress;
    }

    public void setWarehouseOutAddress(String warehouseOutAddress) {
        this.warehouseOutAddress = warehouseOutAddress;
    }

    public String getWarehouseInId() {
        return warehouseInId;
    }

    public void setWarehouseInId(String warehouseInId) {
        this.warehouseInId = warehouseInId;
    }

    public String getWarehouseInName() {
        return warehouseInName;
    }

    public void setWarehouseInName(String warehouseInName) {
        this.warehouseInName = warehouseInName;
    }

    public String getWarehouseInAddress() {
        return warehouseInAddress;
    }

    public void setWarehouseInAddress(String warehouseInAddress) {
        this.warehouseInAddress = warehouseInAddress;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    @Override
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<InventoryTransferList> getInventoryTransferLists() {
        return inventoryTransferLists;
    }

    public void setInventoryTransferLists(List<InventoryTransferList> inventoryTransferLists) {
        this.inventoryTransferLists = inventoryTransferLists;
    }
}
